package edu.xalead;
//少了lombok

import jdk.nashorn.internal.objects.annotations.Setter;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Component("user")
public class User {
    private int id;
    private String name;
    private int age;
    private String sex;
    //List  集合
    private List<String> photos;
    //Array集合
    private String[] Afriends;
    //Set 集合
    private Set<String> money;
   //Map集合
    private Map<String,String> map;
     //Properties集合
    private Properties prop;


}
